package com.unittec.drainage.sdk.manage.request;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 污水费实收收款请求实体
 *
 * @author wangyongfeng
 * @date 2021/8/23
 */
@Data
@ApiModel("污水费实收收款请求实体")
public class Req301111 implements Serializable {

    private static final long serialVersionUID = 3831864495187065926L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id",required = true)
    @NotBlank(message = "id不能为空")
    private String id;

    /**
     * 应收金额
     */
    @ApiModelProperty(value = "应收金额",required = true)
    @Min(value = 0,message = "请输入正确的应收金额")
    @NotNull(message = "请输入应收金额")
    private BigDecimal receivableWaterMoney;

    /**
     * 实收金额
     */
    @ApiModelProperty(value = "实收金额",required = true)
    @Min(value = 0,message = "请输入正确的实收金额")
    @NotNull(message = "请输入实收金额")
    private BigDecimal receiptsWaterMoney;
}
